﻿<Window
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2006" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" xmlns:Beijing2008="clr-namespace:Beijing2008"
	x:Class="Beijing2008.MainWindow"
	x:Name="Window"
	Title="Beijing 2008 - 第29届奥林匹克运动会"
	Width="640" Height="480" BorderBrush="{x:Null}" Icon="Icon.ico" ResizeMode="NoResize" WindowStyle="SingleBorderWindow">

	<Window.Resources>
		<Storyboard x:Key="initLogo">

			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="imgLogo" Storyboard.TargetProperty="(FrameworkElement.Width)">
				<SplineDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
				<SplineDoubleKeyFrame KeySpline="0.5,0,0.5,0.5" KeyTime="00:00:02" Value="280"/>
				<SplineDoubleKeyFrame KeyTime="00:00:02.2000000" Value="70"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="imgLogo" Storyboard.TargetProperty="(FrameworkElement.Height)">
				<SplineDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
				<SplineDoubleKeyFrame KeySpline="0.5,0,0.5,0.5" KeyTime="00:00:02" Value="392"/>
				<SplineDoubleKeyFrame KeyTime="00:00:02.2000000" Value="98"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="imgLogo" Storyboard.TargetProperty="(UIElement.Opacity)">
				<SplineDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
				<SplineDoubleKeyFrame KeySpline="0.5,0,0.5,0.5" KeyTime="00:00:02" Value="0"/>
				<SplineDoubleKeyFrame KeyTime="00:00:02.2000000" Value="1"/>
			</DoubleAnimationUsingKeyFrames>
			<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="imgLogo" Storyboard.TargetProperty="(FrameworkElement.HorizontalAlignment)">
				<DiscreteObjectKeyFrame KeyTime="00:00:02" Value="{x:Static HorizontalAlignment.Center}"/>
				<DiscreteObjectKeyFrame KeyTime="00:00:02.2000000" Value="{x:Static HorizontalAlignment.Right}"/>
			</ObjectAnimationUsingKeyFrames>
			<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="imgLogo" Storyboard.TargetProperty="(FrameworkElement.VerticalAlignment)">
				<DiscreteObjectKeyFrame KeyTime="00:00:02" Value="{x:Static VerticalAlignment.Center}"/>
				<DiscreteObjectKeyFrame KeyTime="00:00:02.2000000" Value="{x:Static VerticalAlignment.Bottom}"/>
			</ObjectAnimationUsingKeyFrames>
			<ThicknessAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="imgLogo" Storyboard.TargetProperty="(FrameworkElement.Margin)">
				<SplineThicknessKeyFrame KeyTime="00:00:02" Value="0,0,0,0"/>
				<SplineThicknessKeyFrame KeyTime="00:00:02.2000000" Value="0,0,20,20"/>
			</ThicknessAnimationUsingKeyFrames>
			<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="imgLogo" Storyboard.TargetProperty="(UIElement.Visibility)">
				<DiscreteObjectKeyFrame KeyTime="00:00:00" Value="{x:Static Visibility.Visible}"/>
				<DiscreteObjectKeyFrame KeyTime="00:00:02" Value="{x:Static Visibility.Hidden}"/>
				<DiscreteObjectKeyFrame KeyTime="00:00:02.2000000" Value="{x:Static Visibility.Visible}"/>
			</ObjectAnimationUsingKeyFrames>

			<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="dockTimePanel" Storyboard.TargetProperty="(UIElement.Visibility)">
				<DiscreteObjectKeyFrame KeyTime="00:00:00" Value="{x:Static Visibility.Hidden}"/>
				<DiscreteObjectKeyFrame KeyTime="00:00:02.2000000" Value="{x:Static Visibility.Visible}"/>
			</ObjectAnimationUsingKeyFrames>
			<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="dockMenu" Storyboard.TargetProperty="(UIElement.Visibility)">
				<DiscreteObjectKeyFrame KeyTime="00:00:00" Value="{x:Static Visibility.Hidden}"/>
				<DiscreteObjectKeyFrame KeyTime="00:00:02.2000000" Value="{x:Static Visibility.Visible}"/>
			</ObjectAnimationUsingKeyFrames>

		</Storyboard>
		<Storyboard x:Key="OnMouseEnterItem">
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="txtItem" Storyboard.TargetProperty="(UIElement.BitmapEffect).(OuterGlowBitmapEffect.GlowSize)">
				<SplineDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
				<SplineDoubleKeyFrame KeyTime="00:00:00.5000000" Value="6"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
		<Storyboard x:Key="OnMouseLeaveItem">
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="txtItem" Storyboard.TargetProperty="(UIElement.BitmapEffect).(OuterGlowBitmapEffect.GlowSize)">
				<SplineDoubleKeyFrame KeyTime="00:00:00" Value="6"/>
				<SplineDoubleKeyFrame KeyTime="00:00:00.5000000" Value="1"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
		<Storyboard x:Key="OnMouseEnterPalaestra"/>
		<Storyboard x:Key="OnMouseLeavePalaestra"/>
		<Storyboard x:Key="ShowItemsGrid">
			<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="dockMenu" Storyboard.TargetProperty="(UIElement.Visibility)">
				<DiscreteObjectKeyFrame KeyTime="00:00:00" Value="{x:Static Visibility.Hidden}"/>
			</ObjectAnimationUsingKeyFrames>
			<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="gridItems" Storyboard.TargetProperty="(UIElement.Visibility)">
				<DiscreteObjectKeyFrame KeyTime="00:00:00" Value="{x:Static Visibility.Hidden}"/>
				<DiscreteObjectKeyFrame KeyTime="00:00:00.5000000" Value="{x:Static Visibility.Visible}"/>
			</ObjectAnimationUsingKeyFrames>
			<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="txtDescription" Storyboard.TargetProperty="(UIElement.Visibility)">
				<DiscreteObjectKeyFrame KeyTime="00:00:00" Value="{x:Static Visibility.Hidden}"/>
				<DiscreteObjectKeyFrame KeyTime="00:00:00.5000000" Value="{x:Static Visibility.Visible}"/>
			</ObjectAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="dockTimePanel" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)">
				<SplineDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
				<SplineDoubleKeyFrame KeyTime="00:00:00.5000000" Value="0.4"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="dockTimePanel" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)">
				<SplineDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
				<SplineDoubleKeyFrame KeyTime="00:00:00.5000000" Value="0.4"/>
			</DoubleAnimationUsingKeyFrames>
			<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="btnBack" Storyboard.TargetProperty="(UIElement.Visibility)">
				<DiscreteObjectKeyFrame KeyTime="00:00:00" Value="{x:Static Visibility.Hidden}"/>
				<DiscreteObjectKeyFrame KeyTime="00:00:00.5000000" Value="{x:Static Visibility.Visible}"/>
			</ObjectAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="btnBack" Storyboard.TargetProperty="(FrameworkElement.Width)">
				<SplineDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
				<SplineDoubleKeyFrame KeyTime="00:00:00.5000000" Value="30"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="btnBack" Storyboard.TargetProperty="(FrameworkElement.Height)">
				<SplineDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
				<SplineDoubleKeyFrame KeyTime="00:00:00.5000000" Value="30"/>
			</DoubleAnimationUsingKeyFrames>
			<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="dockTimePanel" Storyboard.TargetProperty="(FrameworkElement.HorizontalAlignment)">
				<DiscreteObjectKeyFrame KeyTime="00:00:00" Value="{x:Static HorizontalAlignment.Right}"/>
				<DiscreteObjectKeyFrame KeyTime="00:00:00.5000000" Value="{x:Static HorizontalAlignment.Right}"/>
			</ObjectAnimationUsingKeyFrames>
			<ThicknessAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="dockTimePanel" Storyboard.TargetProperty="(FrameworkElement.Margin)">
				<SplineThicknessKeyFrame KeyTime="00:00:00" Value="0,180,40,0"/>
				<SplineThicknessKeyFrame KeyTime="00:00:00.5000000" Value="0,-10,-150,0"/>
			</ThicknessAnimationUsingKeyFrames>
			<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="dockTimePanel" Storyboard.TargetProperty="(FrameworkElement.VerticalAlignment)">
				<DiscreteObjectKeyFrame KeyTime="00:00:00" Value="{x:Static VerticalAlignment.Top}"/>
				<DiscreteObjectKeyFrame KeyTime="00:00:00.5000000" Value="{x:Static VerticalAlignment.Top}"/>
			</ObjectAnimationUsingKeyFrames>
		</Storyboard>
		<Storyboard x:Key="ClickBackButton">
			<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="dockTimePanel" Storyboard.TargetProperty="(UIElement.Visibility)">
				<DiscreteObjectKeyFrame KeyTime="00:00:00" Value="{x:Static Visibility.Visible}"/>
				<DiscreteObjectKeyFrame KeyTime="00:00:00.5000000" Value="{x:Static Visibility.Visible}"/>
			</ObjectAnimationUsingKeyFrames>
			<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="dockMenu" Storyboard.TargetProperty="(UIElement.Visibility)">
				<DiscreteObjectKeyFrame KeyTime="00:00:00" Value="{x:Static Visibility.Hidden}"/>
				<DiscreteObjectKeyFrame KeyTime="00:00:00.5000000" Value="{x:Static Visibility.Visible}"/>
			</ObjectAnimationUsingKeyFrames>
			<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="gridItems" Storyboard.TargetProperty="(UIElement.Visibility)" Duration="00:00:00.0010000">
				<DiscreteObjectKeyFrame KeyTime="00:00:00" Value="{x:Static Visibility.Hidden}"/>
			</ObjectAnimationUsingKeyFrames>
			<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="btnBack" Storyboard.TargetProperty="(UIElement.Visibility)" Duration="00:00:00.0010000">
				<DiscreteObjectKeyFrame KeyTime="00:00:00" Value="{x:Static Visibility.Hidden}"/>
			</ObjectAnimationUsingKeyFrames>
			<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="txtDescription" Storyboard.TargetProperty="(UIElement.Visibility)">
				<DiscreteObjectKeyFrame KeyTime="00:00:00" Value="{x:Static Visibility.Hidden}"/>
			</ObjectAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="dockTimePanel" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)">
				<SplineDoubleKeyFrame KeyTime="00:00:00" Value="0.4"/>
				<SplineDoubleKeyFrame KeyTime="00:00:00.5000000" Value="1"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="dockTimePanel" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)">
				<SplineDoubleKeyFrame KeyTime="00:00:00" Value="0.4"/>
				<SplineDoubleKeyFrame KeyTime="00:00:00.5000000" Value="1"/>
			</DoubleAnimationUsingKeyFrames>
			<ThicknessAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="dockTimePanel" Storyboard.TargetProperty="(FrameworkElement.Margin)">
				<SplineThicknessKeyFrame KeyTime="00:00:00" Value="0,-10,-150,0"/>
				<SplineThicknessKeyFrame KeyTime="00:00:00.5000000" Value="0,180,40,0"/>
			</ThicknessAnimationUsingKeyFrames>
		</Storyboard>
		<OuterGlowBitmapEffect x:Key="ItemButtonGlow" GlowColor="#FFF8FB32"/>
		<Style x:Key="ItemStyleNormal" TargetType="{x:Type Image}">
			<Style.Resources>
				<Storyboard x:Key="Timeline1">
					<ThicknessAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="{x:Null}" Storyboard.TargetProperty="(FrameworkElement.Margin)">
						<SplineThicknessKeyFrame KeyTime="00:00:00" Value="5,5,5,5"/>
						<SplineThicknessKeyFrame KeyTime="00:00:00.5000000" Value="1,1,1,1"/>
					</ThicknessAnimationUsingKeyFrames>
				</Storyboard>
				<Storyboard x:Key="Timeline2">
					<ThicknessAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="{x:Null}" Storyboard.TargetProperty="(FrameworkElement.Margin)">
						<SplineThicknessKeyFrame KeyTime="00:00:00" Value="0,0,0,0"/>
						<SplineThicknessKeyFrame KeyTime="00:00:00.3000000" Value="5,5,5,5"/>
					</ThicknessAnimationUsingKeyFrames>
				</Storyboard>
			</Style.Resources>
			<Style.Triggers>
				<Trigger Property="IsMouseOver" Value="True">
					<Trigger.EnterActions>
						<BeginStoryboard Storyboard="{StaticResource Timeline1}"/>
					</Trigger.EnterActions>
					<Trigger.ExitActions>
						<BeginStoryboard x:Name="Timeline2_BeginStoryboard" Storyboard="{StaticResource Timeline2}"/>
					</Trigger.ExitActions>
					<Setter Property="BitmapEffect">
						<Setter.Value>
							<OuterGlowBitmapEffect/>
						</Setter.Value>
					</Setter>
				</Trigger>
			</Style.Triggers>
		</Style>
		<XmlDataProvider x:Key="ItemsDS" d:IsDataSource="True" Source="Beijing2008.xml"/>
	</Window.Resources>

	<Window.Background>
		<LinearGradientBrush EndPoint="640,480" StartPoint="0,0" MappingMode="Absolute" SpreadMethod="Repeat">
			<GradientStop Color="#FFFF3601" Offset="0"/>
			<GradientStop Color="#FFFF8801" Offset="0.981"/>
		</LinearGradientBrush>
	</Window.Background>

	<Window.Triggers>
		<EventTrigger RoutedEvent="FrameworkElement.Loaded">
			<BeginStoryboard x:Name="initLogo_BeginStoryboard" Storyboard="{StaticResource initLogo}"/>
		</EventTrigger>
		<EventTrigger RoutedEvent="Mouse.MouseEnter" SourceName="txtItem">
			<BeginStoryboard x:Name="OnMouseEnterItem_BeginStoryboard" Storyboard="{StaticResource OnMouseEnterItem}"/>
		</EventTrigger>
		<EventTrigger RoutedEvent="Mouse.MouseLeave" SourceName="txtItem">
			<BeginStoryboard x:Name="OnMouseLeaveItem_BeginStoryboard" Storyboard="{StaticResource OnMouseLeaveItem}"/>
		</EventTrigger>
		<EventTrigger RoutedEvent="Mouse.PreviewMouseDown" SourceName="txtItem">
			<BeginStoryboard x:Name="ShowItemsGrid_BeginStoryboard" Storyboard="{StaticResource ShowItemsGrid}"/>
		</EventTrigger>
		<EventTrigger RoutedEvent="ButtonBase.Click" SourceName="btnBack">
			<BeginStoryboard x:Name="ClickBackButton_BeginStoryboard" Storyboard="{StaticResource ClickBackButton}"/>
		</EventTrigger>
	</Window.Triggers>

	<Grid x:Name="LayoutRoot" DataContext="{Binding Mode=Default, Source={StaticResource ItemsDS}, XPath=/Items/Item}">
		<Image x:Name="imgBanner" Margin="56,8,46,0" VerticalAlignment="Top" Height="76" Source="Banner.png" Stretch="Fill"/>
		<Path Fill="{x:Null}" Stretch="Fill" Stroke="#FFFFFFFF" Margin="20,90,20,0" x:Name="topLine" VerticalAlignment="Top" Height="1" Data="M40,96 L592.05797,96">
			<Path.BitmapEffect>
				<OuterGlowBitmapEffect/>
			</Path.BitmapEffect>
		</Path>
    			
		<Image HorizontalAlignment="Center" x:Name="imgLogo" VerticalAlignment="Center" Width="0" Height="0" Source="Logo.png" Stretch="Fill"/>
    			
		<DockPanel HorizontalAlignment="Right" Margin="0,180,40,0" x:Name="dockTimePanel" VerticalAlignment="Top" Width="520" Height="100" LastChildFill="False" RenderTransformOrigin="0.5,0.5">
			<DockPanel.RenderTransform>
				<TransformGroup>
					<ScaleTransform ScaleX="1" ScaleY="1"/>
					<SkewTransform AngleX="0" AngleY="0"/>
					<RotateTransform Angle="0"/>
					<TranslateTransform X="0" Y="0"/>
				</TransformGroup>
			</DockPanel.RenderTransform>
			<TextBox HorizontalAlignment="Center" x:Name="txtLeft" Background="{x:Null}" BorderBrush="{x:Null}" BorderThickness="0,0,0,0" FontSize="60" FontWeight="Bold" Foreground="#FF164877" MaxLines="1" Text="距开幕式" TextWrapping="NoWrap" IsReadOnly="True" DockPanel.Dock="Left" Cursor="Arrow">
				<TextBox.BitmapEffect>
					<DropShadowBitmapEffect/>
				</TextBox.BitmapEffect>
			</TextBox>
    			
			<TextBox FontFamily="./#DigifaceWide" x:Name="txtDays" Text="" TextWrapping="NoWrap" Background="{x:Null}" FontSize="72" Foreground="#FF0FFF04" Visibility="Visible" BorderBrush="{x:Null}" MaxLength="3" BorderThickness="0,0,0,0" IsReadOnly="True" Width="Auto" Height="Auto" HorizontalAlignment="Right" FontWeight="Bold" HorizontalContentAlignment="Left" Padding="1,1,1,5" VerticalContentAlignment="Bottom" MaxLines="1" Cursor="Arrow" >
				<TextBox.BitmapEffect>
					<DropShadowBitmapEffect/>
				</TextBox.BitmapEffect>
			</TextBox>
    			
			<TextBox HorizontalAlignment="Center" x:Name="txtRight" Background="{x:Null}" BorderBrush="{x:Null}" BorderThickness="0,0,0,0" FontSize="60" FontWeight="Bold" Foreground="#FF164877" MaxLines="1" Text="天" TextWrapping="NoWrap" IsReadOnly="True" Cursor="Arrow">
				<TextBox.BitmapEffect>
					<DropShadowBitmapEffect/>
				</TextBox.BitmapEffect>
			</TextBox>
			<Button Visibility="Hidden" x:Name="btnBack" Content=" X " Padding="3,1,3,1" Width="0" Height="0" FontSize="12">
				<Button.BitmapEffect>
					<OuterGlowBitmapEffect GlowColor="#FF1A7BE0"/>
				</Button.BitmapEffect>
				<Button.Background>
					<LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
						<GradientStop Color="#FFF3F3F3" Offset="0"/>
						<GradientStop Color="#FF43F60E" Offset="0.745"/>
						<GradientStop Color="#FF12F652" Offset="0.029"/>
						<GradientStop Color="#FF0ED947" Offset="1"/>
					</LinearGradientBrush>
				</Button.Background>
			</Button>
		</DockPanel>
		<DockPanel HorizontalAlignment="Center" Margin="0,0,0,120" x:Name="dockMenu" VerticalAlignment="Bottom" Width="440" Height="88" LastChildFill="False" ScrollViewer.VerticalScrollBarVisibility="Disabled">
			<TextBox HorizontalAlignment="Center" x:Name="txtItem" VerticalAlignment="Center" Background="{x:Null}" BorderBrush="{x:Null}" BorderThickness="0,0,0,0" FontSize="22" FontWeight="Bold" Foreground="#FF06294A" MaxLines="1" Text="第29届奥林匹克运动会比赛项目介绍" TextWrapping="NoWrap" IsReadOnly="True" Cursor="Hand" DockPanel.Dock="Bottom">
				<TextBox.BitmapEffect>
					<OuterGlowBitmapEffect GlowSize="1"/>
				</TextBox.BitmapEffect>
			</TextBox>
		</DockPanel>
    			
		<UniformGrid Visibility="Hidden" HorizontalAlignment="Stretch" Margin="20,100,180,20" x:Name="gridItems" VerticalAlignment="Stretch" ScrollViewer.VerticalScrollBarVisibility="Visible" Columns="7" Rows="5">
		  <Image Tag="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'1\']/@Description}" x:Name="Image1" Style="{DynamicResource ItemStyleNormal}" Source="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'1\']/@Source}" ToolTip="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'1\']/@ToolTip}" Stretch="Uniform"/>
		  <Image Tag="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'2\']/@Description}" Margin="5,5,5,5" x:Name="Image2" Style="{DynamicResource ItemStyleNormal}" Source="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'2\']/@Source}" ToolTip="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'2\']/@ToolTip}" Stretch="Uniform"/>
		  <Image Tag="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'3\']/@Description}" Margin="5,5,5,5" x:Name="Image3" Style="{DynamicResource ItemStyleNormal}" Source="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'3\']/@Source}" ToolTip="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'3\']/@ToolTip}" Stretch="Uniform"/>
		  <Image Tag="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'4\']/@Description}" Margin="5,5,5,5" x:Name="Image4" Style="{DynamicResource ItemStyleNormal}" Source="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'4\']/@Source}" ToolTip="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'4\']/@ToolTip}" Stretch="Uniform"/>
		  <Image Tag="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'5\']/@Description}" Margin="5,5,5,5" x:Name="Image5" Style="{DynamicResource ItemStyleNormal}" Source="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'5\']/@Source}" ToolTip="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'5\']/@ToolTip}" Stretch="Uniform"/>
		  <Image Tag="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'6\']/@Description}" Margin="5,5,5,5" x:Name="Image6" Style="{DynamicResource ItemStyleNormal}" Source="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'6\']/@Source}" ToolTip="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'6\']/@ToolTip}" Stretch="Uniform"/>
		  <Image Tag="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'7\']/@Description}" Margin="5,5,5,5" x:Name="Image7" Style="{DynamicResource ItemStyleNormal}" Source="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'7\']/@Source}" ToolTip="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'7\']/@ToolTip}" Stretch="Uniform"/>
		  <Image Tag="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'8\']/@Description}" Margin="5,5,5,5" x:Name="Image8" Style="{DynamicResource ItemStyleNormal}" Source="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'8\']/@Source}" ToolTip="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'8\']/@ToolTip}" Stretch="Uniform"/>
		  <Image Tag="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'9\']/@Description}" Margin="5,5,5,5" x:Name="Image9" Style="{DynamicResource ItemStyleNormal}" Source="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'9\']/@Source}" ToolTip="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'9\']/@ToolTip}" Stretch="Uniform"/>
		  <Image Tag="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'10\']/@Description}" Margin="5,5,5,5" x:Name="Image10" Style="{DynamicResource ItemStyleNormal}" Source="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'10\']/@Source}" ToolTip="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'10\']/@ToolTip}" Stretch="Uniform"/>
		  <Image Tag="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'11\']/@Description}" Margin="5,5,5,5" x:Name="Image11" Style="{DynamicResource ItemStyleNormal}" Source="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'11\']/@Source}" ToolTip="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'11\']/@ToolTip}" Stretch="Uniform"/>
		  <Image Tag="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'12\']/@Description}" Margin="5,5,5,5" x:Name="Image12" Style="{DynamicResource ItemStyleNormal}" Source="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'12\']/@Source}" ToolTip="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'12\']/@ToolTip}" Stretch="Uniform"/>
		  <Image Tag="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'13\']/@Description}" Margin="5,5,5,5" x:Name="Image13" Style="{DynamicResource ItemStyleNormal}" Source="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'13\']/@Source}" ToolTip="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'13\']/@ToolTip}" Stretch="Uniform"/>
		  <Image Tag="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'14\']/@Description}" Margin="5,5,5,5" x:Name="Image14" Style="{DynamicResource ItemStyleNormal}" Source="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'14\']/@Source}" ToolTip="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'14\']/@ToolTip}" Stretch="Uniform"/>
		  <Image Tag="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'15\']/@Description}" Margin="5,5,5,5" x:Name="Image15" Style="{DynamicResource ItemStyleNormal}" Source="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'15\']/@Source}" ToolTip="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'15\']/@ToolTip}" Stretch="Uniform"/>
		  <Image Tag="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'16\']/@Description}" Margin="5,5,5,5" x:Name="Image16" Style="{DynamicResource ItemStyleNormal}" Source="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'16\']/@Source}" ToolTip="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'16\']/@ToolTip}" Stretch="Uniform"/>
		  <Image Tag="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'17\']/@Description}" Margin="5,5,5,5" x:Name="Image17" Style="{DynamicResource ItemStyleNormal}" Source="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'17\']/@Source}" ToolTip="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'17\']/@ToolTip}" Stretch="Uniform"/>
		  <Image Tag="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'18\']/@Description}" Margin="5,5,5,5" x:Name="Image18" Style="{DynamicResource ItemStyleNormal}" Source="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'18\']/@Source}" ToolTip="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'18\']/@ToolTip}" Stretch="Uniform"/>
		  <Image Tag="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'19\']/@Description}" Margin="5,5,5,5" x:Name="Image19" Style="{DynamicResource ItemStyleNormal}" Source="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'19\']/@Source}" ToolTip="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'19\']/@ToolTip}" Stretch="Uniform"/>
		  <Image Tag="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'20\']/@Description}" Margin="5,5,5,5" x:Name="Image20" Style="{DynamicResource ItemStyleNormal}" Source="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'20\']/@Source}" ToolTip="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'20\']/@ToolTip}" Stretch="Uniform"/>
		  <Image Tag="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'21\']/@Description}" Margin="5,5,5,5" x:Name="Image21" Style="{DynamicResource ItemStyleNormal}" Source="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'21\']/@Source}" ToolTip="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'21\']/@ToolTip}" Stretch="Uniform"/>
		  <Image Tag="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'22\']/@Description}" Margin="5,5,5,5" x:Name="Image22" Style="{DynamicResource ItemStyleNormal}" Source="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'22\']/@Source}" ToolTip="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'22\']/@ToolTip}" Stretch="Uniform"/>
		  <Image Tag="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'23\']/@Description}" Margin="5,5,5,5" x:Name="Image23" Style="{DynamicResource ItemStyleNormal}" Source="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'23\']/@Source}" ToolTip="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'23\']/@ToolTip}" Stretch="Uniform"/>
		  <Image Tag="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'24\']/@Description}" Margin="5,5,5,5" x:Name="Image24" Style="{DynamicResource ItemStyleNormal}" Source="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'24\']/@Source}" ToolTip="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'24\']/@ToolTip}" Stretch="Uniform"/>
		  <Image Tag="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'25\']/@Description}" Margin="5,5,5,5" x:Name="Image25" Style="{DynamicResource ItemStyleNormal}" Source="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'25\']/@Source}" ToolTip="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'25\']/@ToolTip}" Stretch="Uniform"/>
		  <Image Tag="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'26\']/@Description}" Margin="5,5,5,5" x:Name="Image26" Style="{DynamicResource ItemStyleNormal}" Source="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'26\']/@Source}" ToolTip="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'26\']/@ToolTip}" Stretch="Uniform"/>
		  <Image Tag="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'27\']/@Description}" Margin="5,5,5,5" x:Name="Image27" Style="{DynamicResource ItemStyleNormal}" Source="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'27\']/@Source}" ToolTip="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'27\']/@ToolTip}" Stretch="Uniform"/>
		  <Image Tag="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'28\']/@Description}" Margin="5,5,5,5" x:Name="Image28" Style="{DynamicResource ItemStyleNormal}" Source="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'28\']/@Source}" ToolTip="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'28\']/@ToolTip}" Stretch="Uniform"/>
		  <Image Tag="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'29\']/@Description}" Margin="5,5,5,5" x:Name="Image29" Style="{DynamicResource ItemStyleNormal}" Source="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'29\']/@Source}" ToolTip="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'29\']/@ToolTip}" Stretch="Uniform"/>
		  <Image Tag="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'30\']/@Description}" Margin="5,5,5,5" x:Name="Image30" Style="{DynamicResource ItemStyleNormal}" Source="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'30\']/@Source}" ToolTip="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'30\']/@ToolTip}" Stretch="Uniform"/>
		  <Image Tag="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'31\']/@Description}" Margin="5,5,5,5" x:Name="Image31" Style="{DynamicResource ItemStyleNormal}" Source="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'31\']/@Source}" ToolTip="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'31\']/@ToolTip}" Stretch="Uniform"/>
		  <Image Tag="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'32\']/@Description}" Margin="5,5,5,5" x:Name="Image32" Style="{DynamicResource ItemStyleNormal}" Source="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'32\']/@Source}" ToolTip="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'32\']/@ToolTip}" Stretch="Uniform"/>
		  <Image Tag="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'33\']/@Description}" Margin="5,5,5,5" x:Name="Image33" Style="{DynamicResource ItemStyleNormal}" Source="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'33\']/@Source}" ToolTip="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'33\']/@ToolTip}" Stretch="Uniform"/>
		  <Image Tag="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'34\']/@Description}" Margin="5,5,5,5" x:Name="Image34" Style="{DynamicResource ItemStyleNormal}" Source="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'34\']/@Source}" ToolTip="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'34\']/@ToolTip}" Stretch="Uniform"/>
		  <Image Tag="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'35\']/@Description}" Margin="5,5,5,5" x:Name="Image35" Style="{DynamicResource ItemStyleNormal}" Source="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'35\']/@Source}" ToolTip="{Binding Mode=Default, XPath=/Items/Item[@ID\=\'35\']/@ToolTip}" Stretch="Uniform"/>

		</UniformGrid>
		<TextBox Visibility="Hidden" HorizontalAlignment="Right" Margin="0,120,20,120" x:Name="txtDescription" Width="150" Background="{x:Null}" Foreground="#FF031B32" TextWrapping="Wrap" IsReadOnly="True" VerticalScrollBarVisibility="Auto" BorderBrush="{x:Null}" Focusable="False" BorderThickness="0,0,0,1" FontSize="14" FontWeight="Bold">
			<TextBox.BitmapEffect>
				<DropShadowBitmapEffect/>
			</TextBox.BitmapEffect>
		</TextBox>
    			
	</Grid>
 

</Window>